import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:liuxlcommon/util/toast_util.dart';
import 'package:ladder_cash/app/page/home/home_listener.dart';

class HomeLogic extends GetxController {
  dynamic notifyDatas;
  PageController pageController = PageController(initialPage: 0);
  int currentIndex = 0;
  Map<String, HomeListener> mapHomeListener = {};


  @override
  onInit(){
    super.onInit();
  }
  ///获取通知
  getNotify() async {
    // dynamic data=await HttpRequest.post('api/open/message/getLast',null,options: Options(method: 'GET'));
    // notifyDatas=data;
    // update(['bottom']);
  }
}
